package com.azier.kapacitor.script.method;

import com.azier.kapacitor.script.arg.SingleQuotesArg;

import java.util.ArrayList;

/**
* 1 * @Author: luoj
* 2 * @Date: 2019/11/8 11:27
* 3
*/
public class Cluster extends AbstractMethod {
    private static final String name = "cluster";
    /**
    The name of a configured InfluxDB cluster. If empty the default cluster will be used.
    **/
    /**
    已配置的InfluxDB集群的名称。如果为空，将使用默认群集。
    **/
    public Cluster(String query) {
        super(new ArrayList<>(), name);
        //
        this.args.add(new SingleQuotesArg(query));


    }
}
